package com.wsd.smartcarwasher.dao;

import com.wsd.smartcarwasher.domain.NoteReceivers;
import org.apache.ibatis.annotations.Param;
import org.springframework.dao.DataAccessException;

import java.util.List;

public interface NoteReceiversDao {

    int addReceivers(NoteReceivers receivers) throws DataAccessException;

    int updateReceivers(NoteReceivers receivers) throws DataAccessException;

    NoteReceivers queryReceiversOfMachine(@Param("level") String level) throws DataAccessException;

    List<NoteReceivers> queryAllReceiversOfMachine() throws DataAccessException;

}
